/* gm_protocol.c -- Convenções de protocolo
 *
 * Copyright (C) 2008, Diogo F. S. Ramos <diogo.ramos@usp.br>
 * GEAR - Grupo de Estudos Avançados em Robótica
 * <http://www.sel.eesc.usp.br/gear>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */

#ifndef GM_PROTOCOL_H_
#define GM_PROTOCOL_H_

/** Tamanho máximo da mensagem enviada */
#define MAX_LENGTH_MSG 512

/** Tamanho do vetor "field" */
#define LENGTH_FIELD_VECTOR 32
/** Tamanho do vetor "world" */
#define LENGTH_WORLD_VECTOR 28


enum msg_from
{
    GM_MSG_VISION,
    GM_MSG_IA
};

enum msg_cmd
{
    GM_MSG_CMD_READ,
    GM_MSG_CMD_READ_WORLD,
    GM_MSG_CMD_MOVE,
    GM_MSG_CMD_DRIBBLE_ENABLE,
    GM_MSG_CMD_KICK,
    GM_MSG_CMD_SAY_HELLO
};


#endif	/* GM_PROTOCOL_H_ */
